//
//  DiaryPhotoBrowseViewController.m
//  Growth
//
//  Created by Hobo.Chen on 7/13/12.
//  Copyright (c) 2012 MEETStudio. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FGalleryViewController.h"
#import "PublicMethodEngine.h"

#import "WebRequest.h"
#import "WebConnetionArray.h"

#import "HPGrowingTextView.h"

#import "CJSONDeserializer.h"
#import "CJSONSerializer.h"


@protocol DiaryPhotoBrowseViewController;

@interface DiaryPhotoBrowseViewController : UIViewController <FGalleryViewControllerDelegate> {
    
    NSMutableArray *localImages;
    
    NSMutableArray *networkImages;
    
     NSMutableArray *imageURLArray;
    
    NSMutableArray *dateArray;
    
    
    
    FGalleryViewController *browseGallery;
    
       
    NSMutableArray *albumMonthArray;
    
    
    
    //GRowing TextView 
    UIView *containerBgView;
    UIView *containerView;
    HPGrowingTextView *textView;
    
    
    BOOL isLocalImage;
    
    //是否是自己宝宝主页
    BOOL isPersonalTimeline;
    
    //起始页
    int curPage;
    
    //本地图片数量
    int localImageCount;
    
    NSString *albumListBaseUrl;
    
    BOOL isMonthlyCoverModify;
    NSInteger monthlyCoverPhotoId;
    
}




@property (nonatomic,retain)  NSMutableArray *networkImages;

@property (nonatomic,retain)  NSMutableArray *imageURLArray;


//network
-(id)initWithImages:(NSArray *)images  dateArray:(NSArray *)dates page:(int)page localImageNum:(int)localImageNum ;


//local
- (id)initWithLocalImages:(NSArray *)images page:(int)page;


- (void)loadBrowseView;


@end

